﻿# -*- coding:utf-8 -*-
from django.contrib import admin
from set.models import Set


class GlobalSettings:
    """
    后台修改
    """
    site_title = '海浪自动化测试平台'
    site_footer = '海浪自动化测试平台'
    menu_style = 'accordion'  # 开启分组折叠


class SetAdmin(admin.ModelAdmin):
    list_display = ['id', 'setname', 'setvalue', ]


admin.site.register(Set, SetAdmin)  # 把系统设置模块注册到django admin后台并能显示
